home *** CD-ROM | disk | FTP | other *** search
-
- //--------------------------------------------------------->
- //- "abstract" -------------------------------------------->
- //--------------------------------------------------------->
- //- pass-3.pov -------------------------------------------->
- //--------------------------------------------------------->
- //- created by ptdawson@voicenet.com ---------------------->
- //--------------------------------------------------------->
- //- super sloppy!!! --------------------------------------->
- //--------------------------------------------------------->
-
- #version 3.0
- global_settings{assumed_gamma 2.2 max_trace_level 20}
- #include"colors.inc"#include"textures.inc"#include"metals.inc"
- #default{finish{Shiny}}background{White}
-
- camera{location<0,75,-190> look_at <0,50,0> }
- light_source{<0,40,-300> White shadowless atmosphere off}
- light_source{<0,400,0> White shadowless atmosphere off}
-
- //- atmosphere -------------------------------------------->
-
- atmosphere{type 1 samples 1 distance 20000 scattering 0.3
- aa_level 3 aa_threshold 0.1 jitter 0.2}
-
- //- visible spotlight gizmo ------------------------------->
-
- #declare TinCan=union{cylinder{<0,0,0><0,5,0>,1 open}
- sphere{<0,0,0>,1}#declare A=0 #while(A<=5)
- torus{1,0.1 pigment{Gray60}translate y*A}
- #declare A=A+1 #end pigment{SteelBlue}finish{F_MetalC}}
-
- //- five spotlights --------------------------------------->
-
- #declare TEMP_LOC=<-20,55,-157>#declare TEMP_ROT=<80,-16,0>
- light_source{<0,3,0>color rgbf<0,1,1,0.999>spotlight point_at
- <0,50,0>rotate TEMP_ROT translate TEMP_LOC radius 1 falloff 18
- tightness 90 atmospheric_attenuation on}
- object{TinCan rotate TEMP_ROT translate TEMP_LOC}
- cylinder{<0,0,0><0,-20,0>,0.5 texture{T_Gold_5A}translate TEMP_LOC}
-
- #declare TEMP_LOC=<-10,55,-157>#declare TEMP_ROT=<80,-8,0>
- light_source{<0,3,0>color rgbf<0,2,0,0.999>spotlight point_at
- <0,50,0>rotate TEMP_ROT translate TEMP_LOC radius 1 falloff 18
- tightness 90 atmospheric_attenuation on}
- object{TinCan rotate TEMP_ROT translate TEMP_LOC}
- cylinder{<0,0,0><0,-20,0>,0.5 texture{T_Gold_5A}translate TEMP_LOC}
-
- #declare TEMP_LOC=<0,55,-157>#declare TEMP_ROT=<80,0,0>
- light_source{<0,3,0>color rgbf<1,1,0,0.999>spotlight point_at
- <0,50,0>rotate TEMP_ROT translate TEMP_LOC radius 1 falloff 18
- tightness 90 atmospheric_attenuation on}
- object{TinCan rotate TEMP_ROT translate TEMP_LOC}
- cylinder{<0,0,0><0,-20,0>,0.5 texture{T_Gold_5A}translate TEMP_LOC}
-
- #declare TEMP_LOC=<10,55,-157>#declare TEMP_ROT=<80,8,0>
- light_source{<0,3,0>color rgbf<2,0,0,0.999>spotlight point_at
- <0,50,0>rotate TEMP_ROT translate TEMP_LOC radius 1 falloff 18
- tightness 90 atmospheric_attenuation on}
- object{TinCan rotate TEMP_ROT translate TEMP_LOC}
- cylinder{<0,0,0><0,-20,0>,0.5 texture{T_Gold_5A}translate TEMP_LOC}
-
- #declare TEMP_LOC=<20,55,-157>#declare TEMP_ROT=<80,16,0>
- light_source{<0,3,0>color rgbf<1,0,1,0.999>spotlight point_at
- <0,50,0>rotate TEMP_ROT translate TEMP_LOC radius 1 falloff 18
- tightness 90 atmospheric_attenuation on}
- object{TinCan rotate TEMP_ROT translate TEMP_LOC}
- cylinder{<0,0,0><0,-20,0>,0.5 texture{T_Gold_5A}translate TEMP_LOC}
-
- //- the bird ---------------------------------------------->
-
- #declare THING=sphere{0,0.1}#declare BIRD=merge{
- #declare X=0.01 #while(X<4)#declare Y=(sin(X)/2)
- #declare SCALE=<1,1,(5-X)>#if(X=0.01)#declare SCALE=<3,3,12> #end
- object{THING scale SCALE translate<X,Y,0>}
- object{THING scale SCALE translate<-X,Y,0>}
- #declare X=X+0.10 #end sphere{<0,0,0>,0.2
- scale<1,1.2,2>translate<0,0.25,-0.99>}
- cone{<0,0,0>,0.12<0,0,-0.75>,0.0 scale<0.2,1,1>
- rotate x* 5 translate<0,0.25,-0.99>}
- cone{<0,0,0>,0.12<0,0,-0.75>,0.0 scale<0.2,1,1>
- rotate x*-5 translate<0,0.25,-0.99>}
- #declare A=-30 #while(A<=30)sphere{0,0.1 scale<1,1,6>
- translate z*0.6 rotate y*A translate z*1}
- #declare A=A+2 #end pigment{White}finish{F_MetalE}}
- object{BIRD scale<29,29,29>rotate<10,-25,0>translate<1,70,-80>}
-
- //- floor ------------------------------------------------->
-
- height_field{gif"plasma3.gif"smooth
- translate<-0.5,0,-0.5>scale<380,30,200>translate y*-30
- texture{pigment{checker Yellow,Maroon scale 30
- rotate y*-20 turbulence 0.01}normal{bumps 0.2 scale 4}
- finish{F_MetalD}}hollow}
-
- //- new back wall and white plane ------------------------->
-
- box{<0,0,0><1,1,0.01>texture{pigment{image_map{tga
- "pass-2.tga" once interpolate 2}}finish{Shiny}}
- translate<-0.5,-0.5,0>rotate y*180rotate x*180
- translate y*0.1 scale<80*4.9,60*4.9,1>translate z*90}
-
- plane{z,90.1 pigment{White}hollow}
-
- //- the sky pyramids -------------------------------------->
-
- #declare Pyramid=mesh{
- triangle{<-20,0,0><0,100,0><0,0,-20>}
- triangle{<0,0,-20><0,100,0><20,0,0>}
- triangle{<20,0,0><0,100,0><0,0,20>}
- triangle{<0,0,20><0,100,0><-20,0,0>}
- triangle{<-20,0,0><0,0,-20><20,0,0>}
- triangle{<-20,0,0><0,0,20><20,0,0>}}
- #declare FlipFlop=1
-
- #declare TEX_BOT=texture{
- pigment{image_map{tga "pass-1.tga" once interpolate 2}
- translate x*-0.5 scale<400,140,100>}finish{Shiny}}
-
- #declare TEX_TOP=texture{pigment{color rgbf<1,1,1,0.999>}
- finish{F_MetalA}normal{bumps 0.1 scale 4}}
-
- union{#declare X=-120 #while(X<=120)
- #declare FlipFlop=1-FlipFlop #if(FlipFlop=0)
- object{Pyramid rotate x*180 translate<X,130,0>} #end
- #if(FlipFlop=1)object{Pyramid translate<X,20,0>} #end
- #declare X=X+30 #end texture{TEX_BOT}texture{TEX_TOP}}
-
- //- bye! -------------------------------------------------->
-
-